<!-- 角色管理 -->
<template>
    <div class="page-box h100 display-flex czbj">
      <dxtable
        :dataJson="dataJson"
        :portUrl="portUrl"
        :sonRouter="sonRouter"
        :qx="qx"
      ></dxtable>
    </div>
  </template>
   <script lang='ts' setup>
  import dxtable from "../../components/util/dxtable.vue";
  import { dxget } from "../../util/index";
  import { h, ref, reactive } from "vue";
  import { leixing,leixingName } from "../../util/config";
  import { useRouter } from "vue-router";
  const { currentRoute } = useRouter();
  let types = 0;
  if (currentRoute.value.name == "TeamManagement") {
    types = 1;
  }
  let dataJson = [
    {
      title: "角色名称",
      key: "name",
      search: true, // 是否在搜索栏展示
    },
    {
      title: "修改时间",
      key: "addTime",
      width: "200",
    },
  ];
  const qx = {
    DeletePermissionID: "jkauthoritymanagementdel", //删除
    EditPermissionIdentifier: "jkauthoritymanagementbj", // 编辑
    NewPermissionIdentifier: "jkauthoritymanagementxz", // 新建
    ViewPermissionID: "jkauthoritymanagementck", // 查看
  };
  let portUrl = "jk/jkrolemanagement";
  const sonRouter = "jkmsgrole";
  let formJson = reactive([]);
  </script>
   <style scoped>
  </style>